package cn.com.cifi.mars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 门户待办主表
 * </p>
 *
 * @author plx
 * @since 2020-01-10
 */
@TableName("t_portal_todo")
public class PortalTodo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 待办id
     */
    @TableId(value = "instance_id", type = IdType.INPUT)
    private String instanceId;

 

    /**
     * 待办事项移动地址
     */
    private String mobileTaskUrl;

    /**
     * 待办事项PC地址
     */
    private String pcTaskUrl;

    /**
     * 发起人账号，为登陆门户的账号，即idm中的alias字段
     */
    private String owerId;

    /**
     * 操作类型 1/发起流程 2/流程更新 3/删除代办 4/待办转已办 5/抄送新增 6/抄送处理
     */
    @TableField("operatorType")
    private String operatorType;

    /**
     * 流程发起时间时间标准yyyy-MM-dd HH:mm:ss24小时制
     */
    private LocalDateTime flowStartDate;

    /**
     * 待办的主题
     */
    private String title;

    /**
     * 流程状态 approving/审批中  delete/删除 cancel/作废 complete/完成   draft/草稿  refuse/拒绝  revoke/撤回
     */
    private String flowStatus;

    /**
     * 流程类型（门户流程新建维护时候的流程编码）重要
     */
    private String flowType;

    /**
     * 流程类型名
     */
    private String flowTypeName;

    /**
     * 发起人岗位code，非必填，不传时为主岗
     */
    private String positionCode;

    /**
     * 任务类型，待办列表中显示在主题前面的中括号中，
表示提醒审批人待审批的是什么。如“转交”，“驳回”，“合同审批”等，最多用四个字来总结。 
     */
    private String todoType;

    /**
     * 任务类型code [1货值填报、2签约编制。。]
     */
    private String todoTypeCode;

    /**
     * 任务执行人/审批人的账号，为AD账号，即邮箱的前缀
     */
    private String taskApproveId;

    /**
     * 任务执行人/审批人的姓名
     */
    private String taskApproveName;

    /**
     * 任务开始时间(时间标准yyyy-MM-dd HH:mm:ss)24小时制
     */
    private LocalDateTime taskArriveDate;

    /**
     * 任务关联id [货值\供货\签约版本id]
     */
    private String versionId;

    /**
     * 任务关联id类型 [1货值\2供货\3签约]
     */
    private String versionIdType;

    /**
     * 待办事项状态  [0默认 1完成 2删除]
     */
    private String todoStatus;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
    
    
    /**
     * 待办说明,待办内容
     */
    private String content;
    
    
    /**
     * 待办组织类型 1 旭辉集团 2 区域或事业部 3 城市公司 4 项目 5分期
     */
    private String orgType;

    /**
     * 处理人账号
     */
    private String handlePersonId;

    /**
     * 处理人姓名
     */
    private String handlePersonName;

    /**
     * 处理时间
     */
    private LocalDateTime handleTime;

    /**
     * 集团id
     */
    private String groupId;

    /**
     * 区域或事业部id
     */
    private String regionId;

    /**
     * 城市公司id
     */
    private String cityId;

    /**
     * 项目id
     */
    private String projectId;

    /**
     * 分期id
     */
    private String stagesId;

    public String getOrgType() {
		return orgType;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	public String getHandlePersonId() {
		return handlePersonId;
	}

	public void setHandlePersonId(String handlePersonId) {
		this.handlePersonId = handlePersonId;
	}

	public String getHandlePersonName() {
		return handlePersonName;
	}

	public void setHandlePersonName(String handlePersonName) {
		this.handlePersonName = handlePersonName;
	}

	public LocalDateTime getHandleTime() {
		return handleTime;
	}

	public void setHandleTime(LocalDateTime handleTime) {
		this.handleTime = handleTime;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getRegionId() {
		return regionId;
	}

	public void setRegionId(String regionId) {
		this.regionId = regionId;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getStagesId() {
		return stagesId;
	}

	public void setStagesId(String stagesId) {
		this.stagesId = stagesId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }
  
    public String getMobileTaskUrl() {
        return mobileTaskUrl;
    }

    public void setMobileTaskUrl(String mobileTaskUrl) {
        this.mobileTaskUrl = mobileTaskUrl;
    }
    public String getPcTaskUrl() {
        return pcTaskUrl;
    }

    public void setPcTaskUrl(String pcTaskUrl) {
        this.pcTaskUrl = pcTaskUrl;
    }
    public String getOwerId() {
        return owerId;
    }

    public void setOwerId(String owerId) {
        this.owerId = owerId;
    }
    public String getOperatorType() {
        return operatorType;
    }

    public void setOperatorType(String operatorType) {
        this.operatorType = operatorType;
    }
    public LocalDateTime getFlowStartDate() {
        return flowStartDate;
    }

    public void setFlowStartDate(LocalDateTime flowStartDate) {
        this.flowStartDate = flowStartDate;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getFlowStatus() {
        return flowStatus;
    }

    public void setFlowStatus(String flowStatus) {
        this.flowStatus = flowStatus;
    }
    public String getFlowType() {
        return flowType;
    }

    public void setFlowType(String flowType) {
        this.flowType = flowType;
    }
    public String getFlowTypeName() {
        return flowTypeName;
    }

    public void setFlowTypeName(String flowTypeName) {
        this.flowTypeName = flowTypeName;
    }
    public String getPositionCode() {
        return positionCode;
    }

    public void setPositionCode(String positionCode) {
        this.positionCode = positionCode;
    }
    public String getTodoType() {
        return todoType;
    }

    public void setTodoType(String todoType) {
        this.todoType = todoType;
    }
    public String getTodoTypeCode() {
        return todoTypeCode;
    }

    public void setTodoTypeCode(String todoTypeCode) {
        this.todoTypeCode = todoTypeCode;
    }
    public String getTaskApproveId() {
        return taskApproveId;
    }

    public void setTaskApproveId(String taskApproveId) {
        this.taskApproveId = taskApproveId;
    }
    public String getTaskApproveName() {
        return taskApproveName;
    }

    public void setTaskApproveName(String taskApproveName) {
        this.taskApproveName = taskApproveName;
    }
    public LocalDateTime getTaskArriveDate() {
        return taskArriveDate;
    }

    public void setTaskArriveDate(LocalDateTime taskArriveDate) {
        this.taskArriveDate = taskArriveDate;
    }
    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }
    public String getVersionIdType() {
        return versionIdType;
    }

    public void setVersionIdType(String versionIdType) {
        this.versionIdType = versionIdType;
    }
    public String getTodoStatus() {
        return todoStatus;
    }

    public void setTodoStatus(String todoStatus) {
        this.todoStatus = todoStatus;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "DoorTodo{" +
        "instanceId=" + instanceId +
        ", mobileTaskUrl=" + mobileTaskUrl +
        ", pcTaskUrl=" + pcTaskUrl +
        ", owerId=" + owerId +
        ", operatorType=" + operatorType +
        ", flowStartDate=" + flowStartDate +
        ", title=" + title +
        ", flowStatus=" + flowStatus +
        ", flowType=" + flowType +
        ", flowTypeName=" + flowTypeName +
        ", positionCode=" + positionCode +
        ", todoType=" + todoType +
        ", todoTypeCode=" + todoTypeCode +
        ", taskApproveId=" + taskApproveId +
        ", taskApproveName=" + taskApproveName +
        ", taskArriveDate=" + taskArriveDate +
        ", versionId=" + versionId +
        ", versionIdType=" + versionIdType +
        ", todoStatus=" + todoStatus +
        ", updateTime=" + updateTime +
        "}";
    }
}
